package com.zzmcc.wechat.service;

import com.zzmcc.wechat.entity.Account;
import org.smart4j.framework.mvc.bean.Params;

import java.util.List;
import java.util.Map;

/**
 * Created by joinwin on 14-7-1.
 */

public interface AccountService {
    boolean saveAccount(Map<String,Object> fieldMap);
    List<Account> getAccounts(String keyword);
    boolean delAccount(long id);
    Account findAccount(long id);
    boolean updateAccount(long id,Map<String,Object>fieldMap);
}
